package com.xujianlun.cpms.mapper.sys;

import com.xujianlun.cpms.entity.sys.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xujianlun
 * @since 2022-11-24
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    @Select("select id from sys_role where mark = #{mark}")
    Integer selectByMark(@Param("mark") String mark);
}
